
<%-- 
    Document   : cerrar_sesion
    Created on : 11/03/2009, 06:30:46 PM
    Author     : Ricardo
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="true" %>

<%
HttpSession sesionOk = request.getSession();
sesionOk.invalidate();
%>

<jsp:forward page="index.jsp"/>

<%--
<%
            if ((session.getAttribute("nick") != null) && (session.getAttribute("clave") != null)) {
                session.setAttribute("nick", null);
                session.setAttribute("clave", null);
                response.sendRedirect("index.jsp");
}
            else response.sendRedirect("index.jsp");
%>
--%>
